import http from '@/common/http';

// 发送短信
export const savePass = (data:object) => {
    return http.request({
        url:'/api/user/savePass',
        method:'POST'
    })
}

// 获取用户信息
export const getUserInfo = () => {
    return http.request({
        url:'/api/user/getUserInfo',
        method:'GET'
    })
}

//退出登录
export const logout = () => {
    return http.request({
        url:'/api/user/logout',
        method:'GET'
    })
}
